package com.ruoyi.project.mgr.teacher.mapper;

import com.ruoyi.project.mgr.teacher.domain.MgrClazzTeacher;
import com.ruoyi.project.mgr.teacher.domain.MgrTeacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MgrTeacherMapper {

    /**
     * 查询角色是教师的用户
     * @param mgrTeacher
     * @return
     */
    public List<MgrTeacher> selectTeacherList(MgrTeacher mgrTeacher);

    /**
     * 删除教师所带的班级
     * @param clazzId
     * @param teacherId
     * @return
     */
    public int deleteClazz(@Param("clazzId") Long clazzId,@Param("teacherId") Long teacherId);

    public int insertMgrClazzTeacher(MgrClazzTeacher mgrClazzTeacher);
}
